package com.hm.service.service.main;


import com.hm.service.entity.ydcg.TaskDetailsBean;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 任务详情
 */@Service
public interface TaskDetailsService {

    /**
     * 保存案件
     * status:
     * 0-运行中
     * 1-暂停
     */
    void saveTask(String taskId, String jobKey, String jobClassName, String cronExpression, String status, String description);


    void updateTask(String taskId, String cronExpression);

    void deleteTask(String taskId);

    List<TaskDetailsBean> queryAllTask();


}
